package resources

import (
	"github.com/goravel/framework/support/carbon"
)

type UserResp struct {
	Password       string          `form:"password" json:"password"`
	RealName       string          ` form:"real_name" json:"real_name"`
	Username       string          ` form:"username" json:"username"`
	Birthday       carbon.Date     `form:"birthday" json:"birthday"`
	CardId         string          `form:"card_id" json:"card_id"`
	Mark           string          `form:"mark" json:"mark"`
	GroupID        uint            `form:"group_id" json:"group_id"`
	Nickname       string          `form:"nickname" json:"nickname"`
	Phone          string          `form:"phone" json:"phone"`
	AddIp          string          `form:"add_ip" json:"add_ip"`
	LastTime       carbon.DateTime `form:"last_time" json:"last_time"`
	NowMoney       int             `form:"now_money" json:"now_money"`
	BrokerageMoney int             `form:"brokerage_money" json:"brokerage_money"`
	Integral       int             `form:"integral" json:"integral"`
	Exp            int             `form:"exp" json:"exp"`
	SignNum        int64           `form:"sign_num" json:"sign_num"`
	Status         int             `form:"status" json:"status"`
	Level          int             `form:"level" json:"level"`
	UserType       string          `form:"user_type" json:"user_type"`
	IsDelivery     int             `form:"is_delivery" json:"is_delivery"`
	PayCount       int64           `form:"pay_count" json:"pay_count"`
	Address        string          `form:"address" json:"address"`
	AdminID        uint            `form:"admin_id" json:"admin_id"`
	LoginType      string          `form:"login_type" json:"login_type"`
	Avatar         string          `form:"avatar" json:"avatar"`
	StaffID        uint            `form:"staff_id" json:"staff_id"`
	InviteCode     string          `form:"invite_code" json:"invite_code"`
	Roles          []string        `form:"roles" json:"roles"`
	Permissions    []string        `form:"permissions" json:"permissions"`
}
